package com.study.bob.builder;

/**
 * Created by bob on 2016/5/4.
 */
public class TestBuilderPattern {

    public static void main(String args[]){
        Computer computer = new Computer.ComputerBuilder("500g","2g")
                .setIsGraphicCardEnable(true).setIsGraphicCardEnable(true)
                .builder();
        System.out.println("ARM:"+computer.getARM()+" HDD:" + computer.getHDD());

    }
}
